#define _CRT_SECURE_NO_WARNINGS 1

#include "SeqList.h"


void test()
{
	SQ sl;
	SeqListInit(&sl);

	SeqListPushBack(&sl, 7);
	SeqListPushBack(&sl, 8);
	SeqListPushBack(&sl, 9);
	SeqListPushBack(&sl, 10);

	SeqListPrint(&sl);

	SeqLsitPushFront(&sl, 6);
	SeqLsitPushFront(&sl, 5);
	SeqLsitPushFront(&sl, 4);
	SeqLsitPushFront(&sl, 3);

	SeqListPrint(&sl);

	SeqListPopBack(&sl);

	int ret = SeqListFind(&sl, 5);
	SeqListInsert(&sl, ret, 10);
	SeqListPrint(&sl);

	SeqListPopFront(&sl);
	SeqListErase(&sl, ret);
	SeqListPrint(&sl);

}
int main()
{

	test();
	return 0;
}